package com.fxy.Service.impl;

;
import com.fxy.Entity.QuestionEntity;
import com.fxy.Service.AddQuestionService;
import com.fxy.mapper.AddQuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddQuestionServiceImpl implements AddQuestionService {
    @Autowired
    private AddQuestionMapper addQuestionMapper;


    @Override
    public void addQuestion(int studentId, int teacherId, String questionTitle) {
        addQuestionMapper.addQuestion(studentId,teacherId,questionTitle);
    }
}
